package com.mvc.servlet;

import com.mvc.service.impl.UserServiceImpl;

public class User {
    public UserServiceImpl userServiceImpl;
    public User() {
    }

    public void setUserServiceImpl(UserServiceImpl userServiceImpl) {
        this.userServiceImpl = userServiceImpl;
    }

    public void findOne(){
        userServiceImpl.findByOne();
    }

    public void findTwo(){
        userServiceImpl.findByTwo();
    }
}
